package com.travel.service;

import com.travel.common.CommonRes.RestResponse;
import com.travel.dto.VerificationInfo;
import com.travel.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author 18757
 * @description 针对表【user】的数据库操作Service
 * @createDate 2023-05-09 16:11:18
 */
public interface UserService extends IService<User> {

    User checkLogin(String phoneNumber, String password);

    boolean checkPhone(String phoneNumber);

    User regist(String phoneNumber, String captcha);

    String getCaptcha(String phoneNumber);

    boolean verify(String phoneNumber, String captcha);
}
